import { ApiProperty } from "@nestjs/swagger"

export class OssDto {
  @ApiProperty({
    type: "string",
    format: "binary",
    description: "文件上传",
  })
  file: any

  @ApiProperty({
    type: "string",
    required: false,
    description: "上传目录",
    default: "",
  })
  folder?: string
}